Mollie\WooCommerce\Gateway\MolliePaymentGateway C

Total Complexity 125
Dependencies 18
Dependents 9
Total lines 759
Lines of code 444
Logical lines of code 279
Comment lines 256
Methods 41
Properties 15

Methods 41

Method Rating Maintainability Complexity Lines of code
onOrderReceivedTitle()
A
42 15 48
displayInstructions()
A
47 14 32
getReturnRedirectUrlForOrder()
A
45 10 39
isValidForUse()
S
49 6 32
process_refund()
S
50 6 30
__construct()
S
45 5 39
get_recurring_total()
S
58 5 17
is_available()
S
55 4 20
onOrderReceivedText()
S
61 4 13
gatewayHasFields()
S
65 4 9
isAvailableMethodInCheckout()
S
62 3 11
checkEnabledNorDirectDebit()
S
66 3 9
isAllowedBillingCountry()
S
66 3 8
getBillingCountry()
S
68 3 6
get_transaction_url()
S
67 3 6
thankyou_page()
S
64 3 10
getCurrencyFromOrder()
S
63 2 11
initDescription()
S
75 2 4
activePaymentObject()
S
66 2 8
getSelectedIssuer()
S
70 2 5
initIcon()
S
70 2 6
get_icon()
S
74 2 4
cartAmountAvailable()
S
79 2 3
validate_multi_select_countries_field()
S
77 2 3
process_payment()
S
64 2 10
handlePaidOrderWebhook()
S
68 1 6
getMollieMethod()
S
80 1 3
isCurrencySupported()
S
78 1 3
getSupportedCurrencies()
S
70 1 4
process_admin_options()
S
77 1 4
paymentService()
S
82 1 3
admin_options()
S
81 1 3
dataService()
S
82 1 3
gatewayId()
S
73 1 5
pluginId()
S
82 1 3
payment_fields()
S
77 1 4
paymentMethod()
S
82 1 3
init_form_fields()
S
80 1 3
init_settings()
S
81 1 3
noOrderPaymentFailure()
S
66 1 8
paymentObject()
S
82 1 3